SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e4bb9c45e9152bd018aadb1ce0ef025890949c542d03053cfde698d284a97f2' 
  AND token = 'gwLwrMfTpdEVwolq69+ooOreQsGKcmWpR7jQAztGdeg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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