SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '312e3d6546fd8edf2e316663587a30fc85e25e4a125781c4ad007c56b566fab4' 
  AND token = 'ZX/LsYyO3qWiCiIWh9n8XXU32OGPaTK8TnWjemRSWyg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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