SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccb395cb992db627c7848ac1c049876b6c5bcde0d213b3368ee333a2d3390518' 
  AND token = 'lEyVlX0c4bgstR1FdRxH9lqByf2koQxQ0MchyG6xoGo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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