SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0948ef70192afa1108d7eb9a9d4af2fb49ba7bbccc569c2ddb9a8df25fdd2af1' 
  AND token = 'UdC9pWjM0+V867O4JFk8mDv25Mq6/GxWQiPfOPzCYyc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}