SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '831595e386d8751e888c459e4b0f0de3417eb710a7236a2d7aec466441276aee' 
  AND token = 'P70MVZ66SG+YaZ5QNJh1dpAYye9s7Xi1o4po6oLGATI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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