SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f4660813a5495564cfe90a5c1c5f5cbaef3eb8bc7de3f4cfa7994d6d1744589' 
  AND token = 'I2z2Z3QOq/8bsPmg/jVkzX4jl2lNrS1Ctg+XIGKIo5g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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