SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17cf0102259f9d019e6a3798742f85237b0581c17a3e669466a07314a82c489e' 
  AND token = '0KXucs+pbboIi5TMU1jN+jFmEedowwKhk71ij5wezZo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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