SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd06e424beb10781953dd52110764d01e756034db0efa717d5d77cd547e476485' 
  AND token = 'cwCMfUUAq0nj+QOtF3xJnpNuA0HDs+ZtvimhIBw0PqQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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