SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eaa4d9dac518ae9c8d7b54a282f24b0a0dfb456ab1ef068dbd2d95e54c61ac81' 
  AND token = 'AfPZ9rWQ38F3MwMiQ/k2C0L8drLhYkQ4a7SB1HxFOlg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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