SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4de225aafc0ba6fcd039b339d5b0f98c4a73283e7818b0e1e3f890448138c3f' 
  AND token = '777YJtPaWT/ffYnK+O3w767R9JV9rUqvA5iilEuVMdw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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