SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9cc12800fe3b6c2084f6e9896e18bacafc942bdb4a62fb333676d8c214f515fd' 
  AND token = 'Ry6viBhlXqzdOINqV0IjQIC/bPcpncQiaihTW3BqjqA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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