SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d8f2cfe289c053e37389f8e51668a08beac12fb782c20921f6d0b8a2f500b58' 
  AND token = '2J8wt/1HRvOA1uQYEicew/486ImXH6XP2DLFe/WGbBA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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