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

Query time 0.00053

JSON explain

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