SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4bd6b04cf14680fcddf412c0bb67fc11a320b240124e54be75f8c7e261f897b8' 
  AND token = 'th60baD126vE2LewlMqyfIEXIUyrl032Cn7a/1/wW5w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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