SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c270fcc79b45817fd6786b9716311d3396c574521d5944514b8b4bb99f6f00e1' 
  AND token = '02rvNmZLhGnJOAL3YDsh0C1s0evGV5XsVaWEOUv6stM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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