SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fdcb7af7078f59a033e06c3baf16b1d263808f5f6a470068fd912e8e983e9221' 
  AND token = 'MBvP28dKWu3VmavizcyQv/JtpQoWK7IMdRWlqmFft5E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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