SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ba285e5ff3a7df5c9846047b1acf1af01deb335e5c471af209bd6140a9e406f' 
  AND token = 'blY190+h2/GFsA+yFhu4rHzisheOjfbDd3N/ooSNraI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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