SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd452e7752ac3b29ad66ad705ff7dc809308731152046015e7cf4ef96a7a3944e' 
  AND token = 'dSdFFu2PsBvCod0InrV4L+hZ1KqO9Zm0+K3eJ6R0suc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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