SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78c74f32637efeb30de835606357b0b8ddf112d470d88228f0e4126b9df01429' 
  AND token = 'Zdw50oBng5G9SWCr9g5dMDuOnd70qJ+gyG1e8sb3z8g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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