SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9923035a74f909271d06bf6cb726bfd3e76ca054c4a946fd89fb4565a9f5f0c5' 
  AND token = 'p96/3i+BL005DOE6Xv1tv72FP9bH6hW09UtdndofLng=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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