SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4480c1ebaa59760eb2ce3a21d1c04005ff8193be767c24f430cd22c701fc9bfa' 
  AND token = 'ni2Fx8aJ2/dyyOQja7cwJwkJkz2yghAH4O7iiw1uJcc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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