SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6874b1f839dc2b45252ffa1cd5907a6ffa87ef8465bccba35862c7ba0c3504b4' 
  AND token = 'w8UyLCLvX3vXQV038q7bbKoV9IA0mCt68bs7NUhbd8s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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