SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0c79ceffd6da511fc3ab247a80774ad02ba9327a6cadc818b6131a77327fe5c' 
  AND token = '0NIkOkZTIclYwvIk6n9tqq8O8biC3prHijKxKuVMxAI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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