SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07efdfe5b9346941693b1761100fa2a0627769e300b5c14523d622be6c1563c4' 
  AND token = 'BzphGuA6IppPUtxxySK6NPoTFF62guU4Ewagc8BRStk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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