SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '74fc889508bb7af56a153a88a6b0ad1549836e20072e6cc9f7071164883576b4' 
  AND token = 'r765YllwWpxqOiLOSnDeIdWZ7F+nyLwQgSAuhundhn0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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