SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '312e573904e282452a06a2e042ad8c0e5155c933736c015d22bd7808abd6fd64' 
  AND token = '80EcBLwiMMxhr2IX272/LHu+/5qZfKmoA2X9mWSrcMc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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