SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2e865f6ecf288f594197ca16c9ab67b6a24bae0176d10958f8e6cf6887114eb' 
  AND token = '1VqW9ydbOgflckGyk0E87OH50nfxUadba8B1XVvuHWg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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