SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '312c847e9b030f8cf90f335218fb47c71ce447142c7bb2c4b9f5604042230447' 
  AND token = 'k/Qvd61dMjNjjOnYdw97DtP/F9ZXeoj2LyUa6jj8Wts=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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